<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>ResultDTO</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/google-code-prettify@1.0.5/bin/prettify.min.css">
<link href="../style.css" rel="stylesheet" />
</head>
<body onload="PR.prettyPrint()">
<pre class="prettyprint lang-java">
public class ResultDTO implements Serializable{

    private boolean success; //
    private WasteInfo data; //
    private int code; //
    private String message; //

    public boolean getSuccess(){
        return success;
    }

    public void setSuccess(boolean success){
        this.success = success;
    }

    public WasteInfo getData(){
        return data;
    }

    public void setData(WasteInfo data){
        this.data = data;
    }

    public int getCode(){
        return code;
    }

    public void setCode(int code){
        this.code = code;
    }

    public String getMessage(){
        return message;
    }

    public void setMessage(String message){
        this.message = message;
    }

}
</pre>


<pre class="prettyprint lang-java">
public class WasteInfo implements Serializable{

    private long id; //id
    private long companyId; //多租户id
    private String wasteName; //危废名称
    private String wasteCode; //危废编码
    private long organizationId; //管控部门
    private long managerId; //负责人
    private long typeId; //危废类别id
    private byte unit; //计量单位 0:毫克 1:克 2:千克 3:吨
    private String storagePlace; //存放地点
    private double maxQuantity; //最大存放量
    private double realQuantity; //真实存放量
    private String mainSources; //主要来源
    private String ctrlMeasure; //管控措施
    private byte state; //库存状态 0:正常库存，1：超量库存

    public long getId(){
        return id;
    }

    public void setId(long id){
        this.id = id;
    }

    public long getCompanyId(){
        return companyId;
    }

    public void setCompanyId(long companyId){
        this.companyId = companyId;
    }

    public String getWasteName(){
        return wasteName;
    }

    public void setWasteName(String wasteName){
        this.wasteName = wasteName;
    }

    public String getWasteCode(){
        return wasteCode;
    }

    public void setWasteCode(String wasteCode){
        this.wasteCode = wasteCode;
    }

    public long getOrganizationId(){
        return organizationId;
    }

    public void setOrganizationId(long organizationId){
        this.organizationId = organizationId;
    }

    public long getManagerId(){
        return managerId;
    }

    public void setManagerId(long managerId){
        this.managerId = managerId;
    }

    public long getTypeId(){
        return typeId;
    }

    public void setTypeId(long typeId){
        this.typeId = typeId;
    }

    public byte getUnit(){
        return unit;
    }

    public void setUnit(byte unit){
        this.unit = unit;
    }

    public String getStoragePlace(){
        return storagePlace;
    }

    public void setStoragePlace(String storagePlace){
        this.storagePlace = storagePlace;
    }

    public double getMaxQuantity(){
        return maxQuantity;
    }

    public void setMaxQuantity(double maxQuantity){
        this.maxQuantity = maxQuantity;
    }

    public double getRealQuantity(){
        return realQuantity;
    }

    public void setRealQuantity(double realQuantity){
        this.realQuantity = realQuantity;
    }

    public String getMainSources(){
        return mainSources;
    }

    public void setMainSources(String mainSources){
        this.mainSources = mainSources;
    }

    public String getCtrlMeasure(){
        return ctrlMeasure;
    }

    public void setCtrlMeasure(String ctrlMeasure){
        this.ctrlMeasure = ctrlMeasure;
    }

    public byte getState(){
        return state;
    }

    public void setState(byte state){
        this.state = state;
    }

}
</pre>



<script src="https://cdn.jsdelivr.net/npm/google-code-prettify@1.0.5/bin/prettify.min.js"></script>
</body>
</html>